package com.asm.service.impl;

import com.asm.pojo.tfBindingAlterationByAsmIndexSnvs;
import com.asm.mapper.tfBindingAlterationByAsmIndexSnvsMapper;
import com.asm.service.tfBindingAlterationByAsmIndexSnvsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class tfBindingAlterationByAsmIndexSnvsServiceImpl implements tfBindingAlterationByAsmIndexSnvsService{

    @Autowired
    private tfBindingAlterationByAsmIndexSnvsMapper tfBindingAlterationByAsmIndexSnvsMapper;

    public tfBindingAlterationByAsmIndexSnvsServiceImpl() {}
    @Autowired
    private tfBindingAlterationByAsmIndexSnvsServiceImpl(tfBindingAlterationByAsmIndexSnvsMapper tfBindingAlterationByAsmIndexSnvsMapper){
        this.tfBindingAlterationByAsmIndexSnvsMapper = tfBindingAlterationByAsmIndexSnvsMapper;
    }

    @Override
    public List<tfBindingAlterationByAsmIndexSnvs> getTFBindingAlteration(String tfName){
        return tfBindingAlterationByAsmIndexSnvsMapper.getTFBindingAlteration(tfName);
    }

    @Override
    public List<tfBindingAlterationByAsmIndexSnvs> getTFBindingAlterationDeduplication(String tfName) {
        return tfBindingAlterationByAsmIndexSnvsMapper.getTFBindingAlterationDeduplication(tfName);
    }
}
